package tech.aister.day01.homework;

public class EmployeeTest {

    public static void main(String[] args) {

        Employee boss = new Employee(1,"admin",2555.0d);
        boss.setEmployees(new Employee[0]);

        Employee e1 = new Employee(1,"A",1000.0d);
        Employee e2 = new Employee(2,"B",2000.0d);
        Employee e3 = new Employee(3,"C",1000.0d);
        Employee e4 = new Employee(4,"D",1000.0d);
        Employee e5 = new Employee(5,"E",2000.0d);
        Employee e6 = new Employee(6,"F",1000.0d);

        boss.EmpAdd(e1);
        boss.EmpAdd(e2);
        boss.EmpAdd(e3);
        boss.EmpAdd(e4);
        boss.EmpAdd(e5);
        boss.EmpAdd(e6);

        //boss.delById(2);

        boss.delByPrice(2000.0d);

        //boss.findAll();
    }
}
